<!DOCTYPE>
<html style="width: 100%;maigin:0 auto;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>【新盘介绍】{$item['name']}</title>
<meta name="keywords" content="【新盘介绍】{$item['name']}"/>
<meta name="description" content="【新盘介绍】{$item['name']}"/>
<script language="javascript" src="{AMOUSE_HOUSE_RES}js/jquery.js"></script>
<link href="{AMOUSE_HOUSE_RES}css/bootstrap.css" rel="stylesheet">
<link href="{AMOUSE_HOUSE_RES}css/main.css" rel="stylesheet">
</head>
<body style="width:100%;margin: 0 auto;">
<div class="container" style="width:100%;margin: 0 auto;">
<style type="text/css">
    img {
        max-width: 100%;
    }
    .css-reset em {
        font-style: normal;
    }
    .css-reset ul, .css-reset ol, .css-reset li {
        list-style: none outside none;
    }
    .list-like {
        margin-bottom: 20px;
        overflow: visible;
        position: relative;
        width: 141px;
    }

    .list-btn .btn-like {
        border-radius: 20px 20px 20px 20px;
        clear: both;
        color: #434343;
        cursor: pointer;
        float: none;
        padding: 0 5px;
        text-align: center;
    }

    .list-btn .btn-like span {
        background: url('{AMOUSE_HOUSE_RES}images/ico-like.png') no-repeat scroll 9px 9px / 22px auto transparent;
        display: block;
        font-size: 14px;
        height: 100%;
        padding-left: 40px;
        text-align: left;
    }

    .btn-like .ico-like {
        background: url('{AMOUSE_HOUSE_RES}images/ico-like.png') no-repeat scroll 10px 9px / 22px auto transparent;
        display: block;
        height: 37px;
        left: 4px;
        position: absolute;
        top: 0;
        width: 40px;
    }

    .btn-like.on .ico-like {
        background-position: 2px 3px;
        background-size: 37px auto;
        opacity: 0;
    }

    .list-like .i-img {
        height: 17px;
        left: 10px;
        position: absolute;
        top: 37px;
        width: 27px;
    }

    .list-like .i-count {
        color: #9A9A9A;
        height: 20px;
        left: 37px;
        line-height: 20px;
        position: absolute;
        top: 43px;
    }

    .btn-aboutour {
        color: #434343;
        cursor: pointer;
        padding: 0 5px;
        text-align: center;
        width: 120px;
    }

    .list-btn {
        border: 1px solid #D9D9D9;
        border-radius: 20px 20px 20px 20px;
        font-size: 14px;
        height: 37px;
        line-height: 37px;
        margin: 10px auto 0;
        text-align: center;
    }

    .list-btn .btn-aboutour, .list-btn .btn-share, .list-btn .btn-like, .list-btn .l {
        display: block;
        float: left;
        height: 100%;
        line-height: 37px;
    }

    .list-btn .l {
        background: none repeat scroll 0 0 #D9D9D9;
        height: 21px;
        margin-top: 8px;
        width: 1px;
    }

    .full-tip {
        background: none repeat scroll 0 0 #67C1FE;
        border-radius: 5px 5px 5px 5px;
        box-shadow: 0 0 3px 3px #D1EDFE;
        color: #FFFFFF;
        font-weight: bold;
        left: -100%;
        line-height: 25px;
        text-align: center;
    }

    .full-tip .flms-box {
        padding: 10px 25px;
    }

    p hr {
        margin: 4px 0;
    }

    .rich_media_meta.text {
        color: #8c8c8c;
    }

    .rich_media_meta {
        display: inline-block;
        vertical-align: middle;
        font-weight: 400;
        font-style: normal;
        margin-right: .5em;
        font-size: 12px;
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: normal;
        max-width: none;
    }
    .rich_media_meta a {
        color: #607fa6;
        text-decoration: none;
    }
</style>
<p>
</p>
<div><h3 style="padding: 0 8px;">【新盘介绍】{$item['name']}</h3></div>
<div class="rich_media_meta_list" style="padding: 0 8px;">
    <em id="post-date" class="rich_media_meta text">{php echo date('Y-m-d',$item['createtime'])}</em>
    <a class="rich_media_meta link nickname" href="{$setting[guanzhuUrl]}" id="post-user">
        {$_W['account']['name']}
    </a>
</div>
<div class="well"
     style="background: white;box-shadow:none;-webkit-box-shadow:none;margin-top: 16px;margin:16px 3%;border: 1px solid rgba(0, 0, 0, 0.21);padding: 8px;">
    <h2>
        <span style="font-size:24px;color:#ffffff;background-color: rgb(51, 51, 255);">{$item['name']}&nbsp;</span>
    </h2>
    <p>
        <span style="font-size:16px;">
            <strong>
                <span style="color:#ff0000;">
                    <img src="{$_W['attachurl']}{$item['thumb']}" alt=""/>
                <br/>
                <br/>
        基本信息：</span>
            </strong>
        </span>
    </p>
    <p><span style="font-size:16px;">价 格：<strong>{$item['price']}&nbsp;</strong></span></p>
    <p><span style="font-size:16px;">建筑类型：<strong>{$item['type']}</strong></span></p>
    <p><span style="font-size:16px;">产权年限：<strong>{$item['years']}</strong></span></p>
    <p><span style="font-size:16px;">物业类别：<strong>{$item['wytype']}</strong></span></p>
    <p><span style="font-size:16px;">产权类型：<strong>{$item['cqtype']}</strong></span></p>
    <p><span style="font-size:16px;">建筑面积：<strong>{$item['jzarea']}</strong></span></p>
    <p><span style="font-size:16px;">容&nbsp;&nbsp;积&nbsp;&nbsp;率：<strong>{$item['ratio']}</strong></span></p>
    <p><span style="font-size:16px;">占地面积：<strong>{$item['floor_area']}</strong></span></p>
    <p><span style="font-size:16px;">绿&nbsp;&nbsp;化&nbsp;&nbsp;率：<strong>{$item['afforestation']} </strong></span></p>
    <p><span style="font-size:16px;">总&nbsp;&nbsp;户&nbsp;&nbsp;数：<strong>{$item['total']}</strong></span></p>
    <p><span style="font-size:16px;">户型面积：</span>
        <span  style=" font-size: 16px; font-family: 宋体;"><strong> {$item['door_area']}</strong></span>
    </p>
    <p><span style="font-size:16px;">道路交通：</span>  <strong><span style="font-size:16px;">{$item['road_transport']}</span></strong></p>
    <p><span style="font-size:16px;">投&nbsp;&nbsp;资&nbsp;&nbsp;商：<strong>{$item['investors']}</strong></span></p>
    <p><span style="font-size:16px;">开&nbsp;&nbsp;发&nbsp;&nbsp;商：<strong>{$item['developers']}</strong></span></p>
    <p><span style="font-size:16px;">物业公司：<strong>{$item['property_compay']}</strong></span></p>
    <p><span style="font-size:16px;">物&nbsp;&nbsp;业&nbsp;&nbsp;费：<strong>{$item['propertypay']}</strong></span></p>
    <p><span style="font-size:16px;">楼盘特色：<strong>{$item['features']}</strong></span></p>
    <p><span style="font-size:16px;color:#ff0000;"><strong>销售信息：</strong></span></p>
    <p><span style="font-size:16px;">售楼地址：</span><strong>
        <span style="font-size:16px;">{$item['sales_addres']}（</span> </strong>
    </p>
    <p><span style="font-size:16px;">销售状况：</span>
        <span style="font-size:16px;"><strong>{$item['sales_status']}</strong></span>
    </p>
    <p><span style="font-size:16px;color:#ff0000;"><strong>价格信息</strong></span></p>
    <p><span style="font-size:16px;">均　　价：<strong>{$item['average_price']}</strong></span></p>
    <p><span style="font-size:16px;">折扣价格：<strong>{$item['discounted_costs']}</strong></span></p>
    <p><span style="font-size:16px;">付款方式：<strong>{$item['payment']}</strong></span></p>
    <p><span style="font-size:16px;color:#ff0000;"><strong>配套信息：</strong></span></p>
    <p><span style="font-size:16px;">商业配套：</span><strong><span style="font-size:16px;">{$item['business']}</span> </strong> </p>
    <p><span style="font-size:16px;">银行：<strong>{$item['banks']}</strong></span></p>
    <p><span style="font-size:16px;">商圈：<strong>{$item['trading_area']}</strong></span></p>
    <p><span style="font-size:16px;">公园：<strong>{$item['park']}</strong></span></p>
    <p><span style="font-size:16px;">酒店：<strong>{$item['hotel']}</strong></span></p>
    <p><span style="font-size:16px;">超市：<strong>{$item['supermarket']}</strong></span></p>
    <p><span style="font-size:16px;">人文自然景观：<strong>{$item['humanities']}</strong></span></p>
    <p><span style="font-size:16px;">社区内配套：<strong>{$item['supporting']}</strong></span></p>
    <p><span style="font-size:16px;">内部配套：</span><span style="font-size:16px;"><strong>{$item['internal']}</strong></span></p>
    <p><span style="font-size:16px;">车&nbsp;&nbsp;位&nbsp;&nbsp;数：</span><strong><span style="font-size:16px;">{$item['parking_number']}</span> </strong></p>
    <p><span style="font-size:16px;">基本参数：</span><span style="font-size:16px;"><strong>{$item['base']} </strong></span></p>
    <p><span style="font-size:16px;">公摊系数：<strong>{$item['equally']}</strong></span></p>
    <p><span style="font-size:16px;">周边商业：<strong>{$item['surrounding']}</strong></span> </p>
    <p><span style="font-size:16px;">周边景观：</span><span style="font-size:16px;"><strong>{$item['landscape']}</strong></span></p>
    <p><span style="font-size:16px;">周边医院：</span><strong><span style="font-size:16px;">{$item['hospitals']}</span> </strong></p>
    <p><span style="font-size:16px;">周边学校：</span><span style="font-size:16px;"><strong>{$item['school']}</strong></span></p>
    <p><span style="font-size:16px;">周边交通：</span><strong><span style="font-size:16px;">{$item['traffic']}</span></strong> </p>
    <p><span style="font-size:16px;color:#ff0000;"><strong>设计施工：</strong></span></p>
    <p><span style="font-size:16px;">建筑施工单位：<strong>{$item['construction']}</strong></span></p>
    <p><span style="font-size:16px;">规划设计单位：<strong>{$item['design']}</strong></span></p>
    <p><span style="font-size:16px;">销售公司：<strong>{$item['salecom']}<br/><br/>
        <img src="{$_W['attachurl']}{$item['address']}" alt=""/><br/>
        </strong>
        </span>
    </p>
    <p>
        <span style="font-size:16px;color:#ffffff;">
            <span style="background-color: rgb(0, 0, 0);"><strong>{$item['name']}项目介绍</strong></span>
        </span>
    </p>
    <p>
        <span style="font-size:16px;">&nbsp; &nbsp; &nbsp; &nbsp; {php echo htmlspecialchars_decode($item['introduction'])}
        </span></p>
</div>
<div id="full-tip" class="full-tip" style="display:none;">
    <div class="flms-box">亲，您已提交过啦！</div>
</div>
<div style="height:75px;">
    <div class="list-btn list-like">
        <a data-statsid="{$item[id]}" data-statsp="1" data-statsu="like" href="javascript:updatecount('{$item[id]}');" data-id="{$item[id]}"
           id="likebtn" data-sharebox="true" class="btn-like">
            <span>喜欢就点一下</span><em class="ico-like">
            <img src="{AMOUSE_HOUSE_RES}images/ico-like.png" style="width:25px;margin:6px"/></em>
        </a>

        <div class="i-img">
            <img width="27" src="{AMOUSE_HOUSE_RES}images/btn-info2.png">
        </div>
        <div class="i-count">
            <em id="likenum{$item[id]}">{$item['like']}</em> 人喜欢
        </div>
    </div>
</div>

<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script type="text/javascript">
    $(function() {
        $.get("{php echo $this->createMobileUrl('updateCount', array('id' => $item['id'],'op'=>'read'),true)}",
                function (data, status) {
        });
    });


    function updatecount(id) {
        if (getCookie("like" + id)) {
            $("#full-tip").fadeIn(300).delay(1300).fadeOut(300);
        } else {
            addCookie("like" + id, "60", 1);
            $.get("{php echo $this->createMobileUrl('updateCount', array('id' => $item['id'],'op'=>'like'))}",function (data, status) {});
            var likenum = parseInt(document.getElementById("likenum" + id).innerHTML);
            document.getElementById("likenum" + id).innerHTML=++likenum;
        }
    }

    function likeclick(id) {
        if (getCookie("like" + id)) {
            document.getElementById("full-tip").style.display = "block";
            sleep(3 * 1000);
            document.getElementById("full-tip").style.display = "none";
        } else {
            addCookie("like" + id, "60", 1);
        }
    }

    function addCookie(objName, objValue, objMinites) {      //添加cookie
        var str = objName + "=" + escape(objValue);
        if (objMinites > 0) {     //为时不设定过期时间，浏览器关闭时cookie自动消失
            var date = new Date();
            var ms = objMinites * 60 * 1000;
            date.setTime(date.getTime() + ms);
            str += "; expires=" + date.toGMTString();
        }
        document.cookie = str;
    }

    function getCookie(objName) {//获取指定名称的cookie的值
        var arrStr = document.cookie.split("; ");
        for (var i = 0; i < arrStr.length; i++) {
            var temp = arrStr[i].split("=");
            if (temp[0] == objName) return unescape(temp[1]);
        }
    }
    function sleep(numberMillis) {
        var now = new Date();
        var exitTime = now.getTime() + numberMillis;
        while (true) {
            now = new Date();
            if (now.getTime() > exitTime)
                return;
        }
    }
</script>
<style type="text/css">
    .foot-fix-panel .panel-box .easycall-item {
        width: 25%;
        height: 100%;
        float: left;
        text-align: center;
        text-decoration: none;
    }
</style>
<div class="footerintro"
     style="width:100%;text-align: center;vertical-align: center;padding:10px 0 16px 0;font-size: 12px;margin-bottom: 30px;">
    <a style="color: #D8E2DC;text-decoration: none;"
       href="{$setting['guanzhuUrl']}">本页由
        <span style="color:rgb(114, 163, 114);">
            {if empty($setting['copyright'])}{$_W['account']['name']} {else} {$setting['copyright']}{/if}
        </span> 生成
    </a>
</div>

<div class="foot-fix-panel"  style="width: 100%;height:79px;visibility: visible;border-top: 1px solid rgb(228, 221, 221);background: white;">
    <div class="panel-box" style="width: 100%;">
        <div class="page " data-index="0"  style="display:block;width: 100%;height: 30px;background: rgb(56, 173, 75);color: white; left: 0px; transition: 0ms; -webkit-transition: 0ms; -webkit-transform: translate(0px, 0px) translateZ(0px);">
            <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'0','wxid'=>$wxid),true)}">
                <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='0'}background: rgb(60,120,0);{/if}">出售
                </div>
            </a>
            <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'1','wxid'=>$wxid),true)}">
                <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='1'}background: rgb(60,120,0);{/if}">
                    求购
                </div>
            </a>
            <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'2','wxid'=>$wxid),true)}">
                <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='2'}background: rgb(60,120,0);{/if}">
                    出售
                </div>
            </a>
            <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'3','wxid'=>$wxid),true)}">
                <div class="title" style="color: white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='3'}background: rgb(60,120,0);{/if}">求购</div>
            </a>
        </div>

        <div class="page " data-index="0"
             style="display:block;width: 100%; left: 0px; transition: 0ms; -webkit-transition: 0ms; -webkit-transform: translate(0px, 0px) translateZ(0px);">
            <a
                    style="width: 33%;margin-top: -0px;border-bottom: 3px solid rgb(61, 120, 0);height: 46px;"
                    class="easycall-item" href="{php echo $this->createMobileUrl('new',array('a'=>'rent','openid'=>$openid),true)}">
                <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/zhaopin.png">
                <div class="title" style=" margin-top: -0px; ">发布租房</div>
            </a>
            <a style="width: 34%;margin-top: -0px;border-bottom: 3px solid rgb(91, 177, 0);height: 46px;"
               class="easycall-item" href="{php echo $this->createMobileUrl('list',array('openid'=>$openid),true)}">
                <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/xinpan.png">
                <div class="title" style=" margin-top: -0px; ">新盘认证</div>
            </a>
            <a style="width: 33%;margin-top: -0px;border-bottom: 3px solid rgb(61, 120, 0);height: 46px;"
               class="easycall-item" href="{php echo $this->createMobileUrl('new',array('a'=>'house','openid'=>$openid),true)}">
                <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/zhaopin.png">
                <div class="title" style=" margin-top: -0px; ">发布二手房</div>
            </a>
        </div>
    </div>
</div>

    <div style="display:none">
        {php echo htmlspecialchars_decode($setting['cnzz'])}
    </div>
</div>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
{php $signPackage=$_W['account']['jssdkconfig'];}
<script>
    wx.config({
        debug: false,
        appId: '<?php echo $signPackage["appId"];?>',
        timestamp: '<?php echo $signPackage["timestamp"];?>',
        nonceStr: '<?php echo $signPackage["nonceStr"];?>',
        signature: '<?php echo $signPackage["signature"];?>',
        jsApiList: ['checkJsApi','onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo']
    });

    wx.ready(function () {
        var shareData = {
            imgUrl:"{$_W['attachurl']}{$item['address']}",
            link :  "{$url}",
            desc : "【新盘介绍】{$item['name']}",
            title : "【新盘介绍】{$item['name']}",
            trigger: function (res) {},
            complete: function (res) {},
            success: function (res) {
            },
            cancel: function (res) {
            },
            fail: function (res) {
            }
        };
        wx.onMenuShareAppMessage(shareData);
        wx.onMenuShareQQ(shareData);
        wx.onMenuShareWeibo(shareData);
        wx.onMenuShareTimeline(shareData);
    });
</script>
<script language="javascript">
    function getNearby(catid) {
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(
                    function (position) {
                        var lat = position.coords.latitude;
                        var lng = position.coords.longitude;
                        window.location.href = "wap.php?m=art_list&catid=" + catid + "&a=getnearby&b=1&lat=" + lat + "&lng=" + lng;
                    },
                    function (error) {
                        var errorTypes = {
                            1: '呃...您不能拒绝获取位置服务哦',
                            2: '暂时获取不到您的位置信息，请稍候再试试吧',
                            3: '获取位置信息超时！'
                        };
                        alert(errorTypes[error.code], 2000);
                    },
                    {
                        enableHighAccuracy: true,
                        timeout: 5000
                    }
            );
        }
        else {
            alert('版本过低，不支持定位服务！');
        }
    }
</script>
</body>
</html>


